package com.wx.ssm.aop.impl;

import com.wx.ssm.aop.IStudentService;
import com.wx.ssm.aop.Student;

/**
 * @author shkstart
 * @create 2020-05-08 15:16
 */
public class StudentServiceImp implements IStudentService {
    @Override
    public String addStudent(Student student) throws Exception {
        System.out.println("调用添加用户成功");
//        throw new Exception() ;
//        throw new NullPointerException() ;
        return "aaa" ;


    }

    @Override
    public void deleteStudentByNo(int id) {
        System.out.println("调用删除用户成功");

    }
}
